//
//  CarOrderListModel.swift
//  Kool Car  
//
//  Created by kuaimaxiansheng on 2022/3/9.
//

import UIKit
import ObjectMapper
class CarOrderListModel: Mappable {
    var code : String?
    var data : CarOrderDataListModel?
    var msg : String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        data <- map["data"]
        msg <- map["msg"]
    }
}

class CarOrderDataListModel: Mappable {
    var total : Int?
    var content : [OrderContentListModel]?
    var pageNumber : Int?
    var pageSize : Int?
    
    required init?(map: Map) {
    }
    
    func mapping(map: Map) {
        total <- map["total"]
        content <- map["content"]
        pageNumber <- map["pageNumber"]
        pageSize <- map["pageSize"]
    }
}



